package com.yc.cloud.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;

/**
 * 摄像头录制任务执行日志表 视图对象
 *
 * @author kinggu
 * @since 2025-09-15
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "HwCameraRecordingLogVo", description = "摄像头录制任务执行日志表视图对象")
public class HwCameraRecordingLogVo {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "摄像头ID")
    private Long cameraId;
    
    @ApiModelProperty(value = "存储策略ID")
    private Long strategyId;
    
    @ApiModelProperty(value = "时间段ID")
    private Long timeSlotId;
    
    @ApiModelProperty(value = "操作类型：START-开始录制，STOP-停止录制")
    private String operationType;
    
    @ApiModelProperty(value = "操作时间")
    private LocalDateTime operationTime;
    
    @ApiModelProperty(value = "预期执行时间")
    private LocalDateTime expectedTime;
    
    @ApiModelProperty(value = "执行结果：SUCCESS-成功，FAILED-失败，SKIPPED-跳过")
    private String resultStatus;
    
    @ApiModelProperty(value = "错误信息")
    private String errorMessage;
    
    @ApiModelProperty(value = "执行耗时（毫秒）")
    private Long executionDuration;
    
} 